package org.apache.rocketmq.console.script.service;

import java.util.List;

import org.apache.rocketmq.console.script.model.EnvironDic;
import org.apache.rocketmq.console.script.model.ScriptInfo;
import org.apache.rocketmq.console.script.model.SysInfo;

public interface ScriptService {
	public List<ScriptInfo> findAllScript();

	public List<SysInfo> findAllSysInfo();

	public List<EnvironDic> findAllEnvironDic();

	public EnvironDic findEnvironDicByRegionCodeAndEnviroCode(String regionCode, String enviroCode);

	public EnvironDic findOneEnvironDic(int id);

	public boolean save(ScriptInfo entity);

	public List<EnvironDic> findAllEnvironDicByRegionCode(String regionCode);

	public ScriptInfo findScriptInfoById(int id);

	public String findSysNameBySysCode(String code);
	List<ScriptInfo> findScriptInfoByRegionCode(String regionCode);
}
